package com.customer.feign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "${feign.provider}", fallbackFactory = MyFallBackFactory.class)
public interface TestFeignService {

    @GetMapping("/demo")
    public String getDemo();

}
